import 'package:common_utils/common_utils.dart';
import 'package:flutter_li_ke_jie/config/app_config.dart';

///日志打印
class Log{
  static e(Object e){
    print(e,0);
  }

  static i(Object e){
    print(e,1);
  }

  static print(Object e,int i){
    if(AppConfig.APP_DEBUG){
      LogUtil.e("*************日志开始打印*****************");
      i==0?LogUtil.e(e):LogUtil.d(e);
      LogUtil.e("*************日志打印结束*****************");
    }
  }
}